package edu.lingnan.blog.common.security.handler;

import edu.lingnan.blog.common.core.exception.NotFoundException;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author cql
 */
@RestController
public class NotFoundController {

    @RequestMapping("/**")
    public void notFound() {
        throw new NotFoundException("您要获取的资源不存在!");
    }

}
